package com.tms.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.bind.annotation.CrossOrigin;

/*-----------------------------------
 *   @Time: 2022/9/5 15:02
 *   @Description: 服务启动类
-----------------------------------*/
@SpringBootApplication
@CrossOrigin    // 跨域
@ComponentScan("com.tms")
public class AdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
    }
}
